package xyz.zdsoft.homework_manage_module.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(description= "返回查询信息")
public class RestStudentJob implements Serializable {
        private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    @ApiModelProperty(value = "项目名字")
    private String courseName;
    @ApiModelProperty(value = "作业主题")
    private String title;
    @ApiModelProperty(value = "作业类型，参见WorkType枚举;0平时作业，1阶段性作业，2最终交互作业")
    private String workType;
    @ApiModelProperty(value = "实训老师")
    private String  teacherName;
    @ApiModelProperty(value = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date completeDate;
    @ApiModelProperty(value = "作业状态，参见WorkStatus枚举 0 未完成 1 已完成")
    private String workStatus;
    @ApiModelProperty(value = "实际完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date completeTime;
    @ApiModelProperty(value = "得分")
    private float score;


}
